using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Microsoft.SharePoint.WebControls;
using Microsoft.SharePoint.ApplicationPages;


namespace TweakSP.Web.Admin
{
    public partial class TweakSP_Main : GlobalAdminPageBase
    {

        protected FeatureLinkSections Sections;

        // Methods
        protected void OnAddLink(object sender, AddLinkEventArgs e)
        {
            string str;
            HyperLink link = e.Link;
            if (((link != null) && ((str = link.ID) != null)) && (str == "Extend"))
            {
                link.Visible = base.GlobalAdmin.IsCurrentUserMachineAdmin();
            }
        }

    }
}
